import styled from "styled-components";

const CourseItemStyle = styled.div`
  .courseItemWrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    color: white;

    .left {
      .title {
        font-size: 18px;
      }

      .date {
        margin-top: 5px;
      }
    }

    .right {
      text-align: right;

      .time {
        font-size: 20px;
        color: #cbff00;
      }

      .adm-button {
        font-size: 14px;
        padding: 2px 3px;
        margin-top: 5px;
        border: none;
        color: #fb3838;
      }
    }
  }

  .end,
  .going,
  .future {
    padding: 10px;
    border-radius: 8px;
  }

  .end {
    background-color: #cecdcb;
    color: black;
    opacity: 0.7;

    .right {
      .time {
        color: black;
      }
    }
  }

  .going {
    background-color: var(--themeColor2);
  }

  .future {
    background-color: var(--themeColor1);
  }
`;

export default CourseItemStyle;
